package com.kingsoft.dc.khaos.extender.meta.impl;

import com.kingsoft.dc.khaos.extender.meta.model.ds.Connect;
import com.kingsoft.dc.khaos.extender.meta.model.ds.HdfsConnect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by jing on 19/6/25.
 */
public class HdfsDmMetaImpl extends DmMetaImpl {
    private static Logger logger = LoggerFactory.getLogger(HdfsDmMetaImpl.class);
    @Override
    public Connect decryptDatasourceConnectSecret(String config) {
        logger.info("post response hdfs dssource config:==>{}" , config);
        HdfsConnect connect = HdfsConnect.createHdfsConnect(config); //
        return connect;
    }

}
